﻿namespace com.binance.client.model.market
{
	using BinanceApiConstants = com.binance.client.constant.BinanceApiConstants;
	using ToStringBuilder = org.apache.commons.lang3.builder.ToStringBuilder;

	public class RateLimit
	{

		private string rateLimitType;

		private string interval;

		private long? intervalNum;

		private long? limit;

		public virtual string RateLimitType
		{
			get
			{
				return rateLimitType;
			}
			set
			{
				this.rateLimitType = value;
			}
		}


		public virtual string Interval
		{
			get
			{
				return interval;
			}
			set
			{
				this.interval = value;
			}
		}


		public virtual long? IntervalNum
		{
			get
			{
				return intervalNum;
			}
			set
			{
				this.intervalNum = value;
			}
		}


		public virtual long? Limit
		{
			get
			{
				return limit;
			}
			set
			{
				this.limit = value;
			}
		}


		public override string ToString()
		{
			return (new ToStringBuilder(this, BinanceApiConstants.TO_STRING_BUILDER_STYLE)).append("rateLimitType", rateLimitType).append("interval", interval).append("intervalNum", intervalNum).append("limit", limit).ToString();
		}
	}

}